decisions = {

adopt_viceroy_gov_decision = {
		is_high_prio = yes
		ai_check_interval = 1
		filter = all
		from_potential = {
		}
		potential = {
			government = feudal_government
			is_patrician = no
			any_demesne_title = {
				is_vice_royalty = yes
			}
				}
		allow = {
			any_demesne_title = {
				is_vice_royalty = yes
			}
		}
		effect = {
			ROOT = {
				set_government_type = viceroy_government
			}
		}
		ai_will_do = 1
}

}